//import { defineConfig } from 'vitepress'
import {withMermaid } from "vitepress-plugin-mermaid";// [!code ++]

// https://vitepress.dev/reference/site-config
export default withMermaid({
  title: "明曦漫笔",
  description: "曦光漫过笔尖，写下日常与心绪的温度，留住细碎的明亮。",
  head: [['link', { rel: 'icon', href: '/circle_logo.png' }]],
  themeConfig: {    
    logo: '/circle_logo.png',
    // https://vitepress.dev/reference/default-theme-config
    nav: [
      { text: 'Home', link: '/' },
      { text: 'Examples', link: '/markdown-examples' }
    ],

    sidebar: [
      {
        text: 'Examples',
        items: [
          { text: 'Markdown Examples', link: '/markdown-examples' },
          { text: 'Runtime API Examples', link: '/api-examples' }
        ]
      }
    ],

    socialLinks: [
      { icon: 'github', link: 'https://github.com/vuejs/vitepress' }
    ]
  }
})
